<%@ page import="jakarta.servlet.http.HttpSession" %>
<%@ page import="java.util.List" %>
<%--
  Created by IntelliJ IDEA.
  User: 86151
  Date: 2021/5/5
  Time: 21:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<head>
    <meta charset="UTF-8">
    <title>图片上传预览</title>
    <script type="text/javascript">

        function save(filename){
            <%
            //调用请求对象，向tomcat索要当前用户在服务端私人储物柜
            HttpSession session1 = request.getSession();
            List<String> fileName =  (List<String>)session1.getAttribute("fileName");
            %>
        }


    </script>

</head>


</html>


